﻿using Mal.Balades.Admin.Services;

namespace Mal.Balades.Admin.AdminWebService
{
    public partial class VisitAdmin:IVisitAdmin
    {
        public static VisitAdmin Convert(IVisitAdmin source)
        {
            VisitAdmin result = new VisitAdmin();

            result.Latitude = source.Latitude;
            result.Longitude = source.Longitude;
            result.MarketingCategoryID = source.MarketingCategoryID;
            result.PlaceCategoryID = source.PlaceCategoryID;
            result.QualityCategories = source.QualityCategories;
            result.QualityGps = source.QualityGps;
            result.QualityInformations = source.QualityInformations;
            result.QualityPictures = source.QualityPictures;
            result.QualitySumUp = source.QualitySumUp;
            result.QualityText = source.QualityText;
            result.SumUp = source.SumUp;
            result.Text = source.Text;
            result.Title = source.Title;
            result.UrlName = source.UrlName;
            result.Visible = source.Visible;
            result.VisitID = source.VisitID;

            return result;
        }

        #region IVisitDashboard Members

        
        #endregion
    }
}
